package com.atguigu.d_continue;

public class Test {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            //在某种条件下 中断本轮次循环
            if (i % 3 == 0){
                //跳过本轮次循环,从下一轮次循环的 步进语句 开始执行
                //continue;
                break;
            }
            System.out.println("Hello" + i);
        }

        int count = 0;

        while (true){
            if (count == 100){
                break;
            }

            System.out.println("PHP" + count);
            count++;
        }
    }
}
